<template>
  <div>
    <!-- 标题 -->
    <van-nav-bar
      title="新增联系人"
      left-arrow
      @click-left="onClickLeft"
    />
    <van-contact-edit
      is-edit
      show-set-default
      :contact-info="editingContact"
      set-default-label="设为默认联系人"
      @save="onSave"
      @delete="onDelete"
    />
  </div>
</template>

<script>
export default {
  name: "edit",
  data() {
    return {
      editingContact: {},
    };
  },
  data() {
    return {
      onClickLeft() {
        window.history.go(-1);
      },
      onSave() {},
      onDelete() {},
    };
  },
  created() {
  },
};
</script>

<style scoped>
</style>